package com.fzh.pojo.entity;

public class Images {
	
	private Integer id;
	/**
	 * 链接商品表的外键id
	 */
	private Integer f_pid;
	/**
	 * 商品的图片
	 */
	private String img;
	/**
	 * 是不是主图（0代表不是，1代表是）
	 */
	private Integer isMain;
	/**
	 * 权重(用于根据数字优先展示)
	 */
	private Integer weight;
	/**
	 * 创建时间
	 */
	private String creatTime;
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getF_pid() {
		return f_pid;
	}
	public void setF_pid(Integer f_pid) {
		this.f_pid = f_pid;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public Integer getIsMain() {
		return isMain;
	}
	public void setIsMain(Integer isMain) {
		this.isMain = isMain;
	}
	public Integer getWeight() {
		return weight;
	}
	public void setWeight(Integer weight) {
		this.weight = weight;
	}
	public String getCreatTime() {
		return creatTime;
	}
	public void setCreatTime(String creatTime) {
		this.creatTime = creatTime;
	}
	public Images(Integer id, Integer f_pid, String img, Integer isMain, Integer weight, String creatTime) {
		super();
		this.id = id;
		this.f_pid = f_pid;
		this.img = img;
		this.isMain = isMain;
		this.weight = weight;
		this.creatTime = creatTime;
	}
	public Images() {
		super();
	}
	@Override
	public String toString() {
		return "images [id=" + id + ", f_pid=" + f_pid + ", img=" + img + ", isMain=" + isMain + ", weight=" + weight
				+ ", creatTime=" + creatTime + "]";
	}
	
	
	
}
